<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px"><head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <link rel="stylesheet" href="css/ui-base.css">
    <link rel="stylesheet" href="css/ui-box.css">
	<link rel="stylesheet" href="css/project/style.css">
	<link rel="stylesheet" href="css/zv_common.css">
    <script src="js/zy_control.js"></script>
	<script src="js/zy_json.js"></script>
    <script src="js/main.js"></script>
	<script src="js/init.js"></script>
	<script src="js/talkingdata.js"></script>
	<style>

	.allbline{ border-bottom:1px solid #dbdbdb;}
	td{ height:2.8em; line-height:2.8em; padding:0}
	.odd{ background:#ffffff}
	</style>
</head>
<body class="um-vp" ontouchstart>
<div class="ub ub-ver">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="33%"  align="center" valign="middle" class="allbline"><span class="ub-f1 ">排名</span></td>
    <td width="33%" align="center" valign="middle" class="allbline"><span class="ub-f1 ">航站名</span></td>
    <td width="33%" align="center" valign="middle" class="allbline"><span class="ub-f1 ">分数</span></td>
  </tr>
	<tr>
		<td colspan="3" align="center" id="terminal_ranking">	

		</td>
	</tr>
</table>
	

</div>
</body>
<script>
zy_init();
window.uexOnload=function(type){
	Loading(0);
	if(!type){
		uexWindow.setBounce("0");
	}
	uexEMM.setEvent("1","{'航站排名':'航站排名'}");
	terminal_ranking();
}
function terminal_ranking(){
			 var strx = "";
			 //alert("aa")
			 $.getJSON(terminal_ranking_url+"?RequestKey="+RequestKey,function(json){
				for(var i=0;i<json.length;i++)	
				 {
					var s= i+1;
					var ranking='&nbsp;'
					if(s<=3)
					{
						ranking='<div  style="line-height:0.8em" ><img src="images/'+s+'.png" width="15%"/></div>'
					}
					else{
						ranking=s
					}
					var fff=''
					if(i%2==0)
					{
						fff='class="odd"';
					}
					strx += '<table width="100%" border="0" cellspacing="0" cellpadding="0">'
				  	strx += '<tr '+fff+'>'
					strx += '<td align="center" width="33%;"  class="allbline">'+ranking+'</td>'
					strx += '<td align="center" width="33%" class="allbline">'+json[i].portname+'</td>'
					strx += '<td align="center" width="33%" class="allbline">'+json[i].GroundService+'</td>'
					strx += '</tr>'
				 	strx += '</table>'
				 }
				 $$("terminal_ranking").innerHTML=strx;
				 Loading(-1);
			})
}	
</script>
</html>
